package com.yindian.cos.easy.security.properties;

import lombok.Data;
import org.springframework.http.HttpMethod;

/**
 * 退出配置项
 *
 * @author zhangchuanhao
 * @create 2018/11/18
 */
@Data
public class LogoutProperties {

    /**
     * 是否开启
     */
    private Boolean enable = false;

    /**
     * 退出地址
     */
    private String logoutUrl = "/logout";

    /**
     * 请求方式
     */
    private String method = HttpMethod.POST.name();

    /**
     * 拦截的执行顺序
     */
    private int order = 200;
}
